sms

Configures guest user SMS notification settings. When configured, guest users can register themselves with their e-mail or mobile device ID as the primary key for authentication. The captive portal provides the pass code for registration. Guest users use their registered e-mail or mobile device ID and the received pass code for subsequent logins to the captive portal.
Note

Note

When using SMS, ensure that the WLAN‘s mode of authentication is set to none and the mode of registration is set to user. In other words, captive portal authentication must always enforce guest registration.

SMS is similar to MAC address-based self registration, but in addition the captive portal sends an SMS message, containing an access code, to the user‘s mobile phone number provided at the time of registration. The captive portal verifies the code, returns the Welcome page and provides access. This allows the administrator to verify the phone number provided and can be traced back to a specific individual should the need arise.

The default gateway used with SMS is Clickatell. A pass code can be sent with SMS to the guest user directly using Clickatell, or the pass code can be sent via e-mail to the SMS Clickatell gateway server, and Clickatell sends the pass code SMS to the guest user.

Supported in the following platforms:

Syntax

sms [host|message]sms host clickatell username <USER-NAME> password <PASSWORD> 
api-id <ID> user-agent <PYCLICKATELL> {source-number <WORD>}
sms message <LINE>

Parameters

sms host clickatell username <USER-NAME> password <PASSWORD> 
api-id <ID> user-agent <PYCLICKATELL> {source-number <WORD>}
sms Configures guest user SMS notification settings
host clickatell By default, clickatell is the host SMS gateway server resource. Upon receiving the pass code e-mail, the SMS gateway sends the actual notification pass code SMS to the guest user.
username <USER-NAME> Configures a username unique to this SMS guest management configuration. After configuring the username, specify the associated password. Ensure that the password is correctly provided to receive the pass code required for registering guest user credentials with SMS.
  • <USER-NAME> – Specify the username (should not exceed 32 characters).
password <PASSWORD> Configures the password associated with the specified username
  • <PASSWORD> – Specify the password (should not exceed 63 characters).
api-id <ID> Set a 32 character maximum API ID
  • <API-ID> – Specify the API ID (should not exceed 32 characters).
user-agent <PYCLICKATELL> Since the SMS service provider by default is Clickatell, set the user agent name to pyclickatell. The user-agent value ensures the Clickatell SMS gateway server and its related credentials, needed for sending the pass code to guest users, are configured.
source-number <WORD> Optional. Configures the long-address or the from-number associated with this Clickatell user account
  • <WORD> – Specify the source number (should not exceed 32 characters).
sms message <LINE>
sms Configures guest user SMS notification content
message <LINE> Configures the content of the SMS sent to the guest user notifying the pass code (should not exceed 1024 characters)
  • <LINE> – Specify the message content. When entering the message, use the following tags:

    GM-NAME – for the guest user‘s name

    GM_PASSCODE – for the pass code

    For example: Dear GM_NAME, your internet access pass code is GM_PASSCODE.

Examples

nx9500-6C8809(config-guest-management-test)#sms host clickatell username guest1
password guest1@123 api-id test user-agent pyclickatell
nx9500-6C8809(config-guest-management-test)#sms message Dear guest1, Your passcode for internet access is GM-guest1
nx9500-6C8809(config-guest-management-test)#show context
guest-management test
 email host 192.168.13.10 sender bob@extremenetworks.com security ssl username guest1 password guest1@123
 sms host clickatell username guest1 password guest1@123 api-id test user-agent pyclickatell
 sms message Dear guest1, Your passcode for internet access is GM-guest1
nx9500-6C8809(config-guest-management-test)#

Related Commands

no (guest-management-policy-config-commands) Removes the SMS settings used to send SMS to the guest user